using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace HCManage.Api.Models
{
    /// <summary>
    /// 接口返回的统一对象
    /// </summary>
    public class DataResultModel
    {
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool success { get; set; } = false;

        /// <summary>
        /// 返回的消息
        /// </summary>
        public string message { get; set; }

        /// <summary>
        /// 返回的值
        /// </summary>
        public object data { get; set; }

        /// <summary>
        /// 总记录数
        /// </summary>
        public int total { get; set; } = 0;
    }
}
